package com.konke.sdslibrary.event;



public class SmartSwitchResultEvent extends SmartHomeEvent {

    private int deviceId;
    private boolean on;
    private boolean success;

    public SmartSwitchResultEvent(String ccuId, int deviceId, boolean on, boolean success) {
        super(ccuId);
        this.deviceId = deviceId;
        this.on = on;
        this.success = success;
    }

    public int getDeviceId() {
        return deviceId;
    }

    public boolean isOn() {
        return on;
    }

    public boolean isSuccess() {
        return success;
    }
}
